package cn.zhiquxing.service;


import cn.zhiquxing.domain.SendRequest;
import cn.zhiquxing.domain.SendResponse;

/**
 * 发送接口
 */
public interface SendService {

    /**
     *
     * @param sendRequest {"code":"send","messageParam":{"bizId":null,"extra":null,"receiver":"123@qq.com","variables":null},"messageTemplateId":17,"recallMessageId":null}
     * @return  {"code":"0","data":[{"bizId":"ecZim2-FzdejNSY-sqgCM","businessId":2000001720230815,"messageId":"ecZim2-FzdejNSY-sqgCM"}],"msg":"操作成功"}
     */
    SendResponse send(SendRequest sendRequest);

    SendResponse batchSend(SendRequest sendRequest);

}
